import request from '@/utils/request'


export default{
    //1.带条件查询所有博客
    getTypeList(){
        return request({
            url: `/context/type/list`,
            method: 'get'
          })
    },
    getTypeName(id){
        return request({
            url: `/context/type/getNameById/${id}`,
            method: 'get'
          })
    },
    //3.获取map类型的type值
    getTypeMap(){
        return request({
            url: `/context/type/getTypeMap`,
            method: 'get'
          })
    }



}
